<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.Format"%>
<%@ include file="../share/login_info.jsp"%>

<%
    String sId = request.getParameter("id");
    if (sId == null) {
        sId = "0";
    }
    String sTable = "OA_WDXX";
    String sField = "WDNR";
    String sFieldCondition = "ID";
    String sValueCondition = sId;

    Format format = new Format();
    DataConn dataConn_WDNR = new DataConn();
    QueryData queryData_WDNR = new QueryData(dataConn_WDNR);
    queryData_WDNR.setRecordSet(sTable, sField, sFieldCondition, sValueCondition);
    ResultSet rs_temp = queryData_WDNR.getResultSet();
    String temp_name = "";
    String temp_desc = "";
    String temp_content = "";
    int temp_type = 0;
    String sf = "";
    try {
        if (rs_temp.next()) {
            temp_content = format.toSpaceStr(rs_temp.getString("WDNR"));
        }
        out.println(temp_content);
    }
    catch(Exception e) {
      out.println("em"+e);
    } finally {
      if (null != dataConn_WDNR) {
        dataConn_WDNR.close();
      }
    }
%>
